package com.example.demo02.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;


/**
 * (Suppliers)表实体类
 *
 * @author makejava
 * @since 2024-09-01 20:15:35
 */
@TableName("supplier")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Supplier implements Serializable {

    @TableId(value = "supplier_id", type = IdType.AUTO)
    private Integer supplierId;//主键

    private String supplierName;//供应商名称

    private String phone;//电话

    private String address;//地址

}

